All Questions
Tagged with executablefiles
31 questions
0votes
2answers
67views
Can you safely downgrade/upgrade/remove a package an executable of which is running by APT? [duplicate]
Suppose apt modifies or removes an executable, say a script file, of the package, while the executable is running. Can you rely the running executable will be intact so that the executable runs like ...
0votes
1answer
1kviews
what is difference between symbolic link file and executable file?
I was exploring the /bin directory. The /bin contains file of two different colours, which according to this answer correspond to: Green indicates executable file Sky blue indicates system link In ...
1vote
1answer
5kviews
lmgrd: No such file or directory
While there are comparable questions out there, I have not found a solution for this specific circumstance. And I admit that this particular question may be appropriate to only me; however, the ...
1vote
1answer
567views
Requirements to run LAXUNIX.SH - LaunchAnywhere (tm) version 14.0
I am trying to install a program. After installation was done, I tried to click on the installed file and I got this: LAXUNIX.SH - LaunchAnywhere (tm) version 14.0 To run this script you will need to ...
2votes
1answer
2kviews
Does execution of a file need read permission?
Does execution of a file need read permission? It is natural to think yes, because execution of a file needs to load the file into memory. If the answer is no, why is that? In particular, same ...
0votes
0answers
1kviews
What is the usage of set-user-ID of a program file?
From APUE When we execute a program file, the effective user ID of the process is usually the real user ID. However, we can also set the set-user-ID bit in the file’s mode word (st_mode) that says,...
117votes
9answers
26kviews
Why is /dev/null a file? Why isn't its function implemented as a simple program?
I am trying to understanding the concept of special files on Linux. However, having a special file in /dev seems plain silly when its function could be implemented by a handful of lines in C to my ...
1vote
2answers
2kviews
How may I watch for the creation of a particular "trigger file"?
I need to create a shell script that executes an application when a file called start is created in a particular directory. How may I write a shell script that waits for the creation of a file with a ...
11votes
4answers
30kviews
ls colors: why are some of my fonts black and others green in ls output
I uploaded some font files to AWS (running Amazon Linux) and moved them to the /usr/share/fonts directory using a cp command in .ebextensions. When I SSH in from my mac and use ls -a, I see some files ...
22votes
4answers
6kviews
What is a valid use case for an "execute only" file permission?
I was reading up on chmod and its octal modes. I saw that 1 is execute only. What is a valid use case for an execute only permission? To execute a file, one typically would want read and execute ...
2votes
1answer
4kviews
What is the full path for the pkill command? [duplicate]
I'm trying to add pkill to my sudoers file, but I think I need the full path for it to not give a syntax error. Does anybody know how to find it?
1vote
2answers
2kviews
Linux `size` command gives different results from `ls`
I have an executable i build on Ubuntu 16.04. The file size shown on the GUI and through the ls -l command is: -rwxrwxr-x 1 alibivmuser alibivmuser 19108760 dic 20 15:49 NreSpeechApplication And I ...
5votes
2answers
3kviews
Monitoring what program calls an executable file
I want to know what program calls a particular executable, including when that executable is used as an interpreter via a shebang line. This is not quite the same problem as knowing what program ...
3votes
3answers
131views
Differentiate between ELFves and scripts quickly
How do I use file to differentiate between ELFves and scripts as quickly as possible? I don't need any further details, just ELF, script (/plaintext), or other/error.
92votes
1answer
12kviews
Why does the following bash script delete itself?
If you create an executable file with the following contents, and run it, it will delete itself. How does this work? #!/bin/rm